package com.atguigu.web.admin.service;

import com.atguigu.model.entity.ApartmentInfo;
import com.atguigu.web.admin.vo.apartment.ApartmentDetailVo;
import com.atguigu.web.admin.vo.apartment.ApartmentItemVo;
import com.atguigu.web.admin.vo.apartment.ApartmentQueryVo;
import com.atguigu.web.admin.vo.apartment.ApartmentSubmitVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author liubo
* @description 针对表【apartment_info(公寓信息表)】的数据库操作Service
* @createDate 2023-07-24 15:48:00
*/
public interface ApartmentInfoService extends IService<ApartmentInfo> {
   void customPage(Page<ApartmentItemVo> page, ApartmentQueryVo queryVo);
   void saveOrUpdateApartment(ApartmentSubmitVo apartmentSubmitVo);
   ApartmentDetailVo getApartmentDetailById(Long id);
   //这个Service方法是根据用户输入的id查询公寓的详情信息
   void removeApartmentById(Long id);
}
